#pragma once
#include<stdio.h>
#include<stdlib.h>

#define MAX_SIZE 10
typedef int SQDateType;

typedef struct SeqList
{
	SQDateType* a;
	int capacity;
	int size;
}SL;

void InitSeqList(SL* ps);
void SeqListCheakCapacity(SL* ps);
void SeqListPrint(SL* ps);
void SeqListDestory(SL* ps);


void SeqlistPushBack(SL* ps, SQDateType x);
void SeqlistPushFront(SL* ps, SQDateType x);
void SeqlistPopBack(SL* ps);
void SeqlistPopFront(SL* ps);
void SeqListInsert(SL* ps, int pop, SQDateType x);
void SeqListErase(SL* ps, int pop);
